import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import Mint from "mint-ui";
import axios from "./api/index.js";
import "mint-ui/lib/style.css";
import Vuex from "vuex";
import store from "./store/store";
Vue.use(Mint).use(Vuex);
Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Array.prototype.remove = function(val) {
  var index = this.indexOf(val);
  if (index > -1) {
    this.splice(index, 1);
  }
};
new Vue({
  store,
  router,
  render: (h) => h(App),
}).$mount("#app");
